//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Unit3.h"
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm3 *Form3;
//---------------------------------------------------------------------------
__fastcall TForm3::TForm3(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm3::Button1Click(TObject *Sender)
{
        if (Form3->Caption == "X-axis zoom") {
                Form1->Edit2->Text = Form3->Edit1->Text;
        }
        else {
                Form1->Edit3->Text = Form3->Edit1->Text;
        }
}
//---------------------------------------------------------------------------
 